import config from "../../../../../config/config";

// prefix
const prefixCls = config.prefix + '-table-column-radio'

export default {
  name: config.prefix + '-table-column-radio',
  props: {
    checked: {
      type: Boolean,
      default: false
    },
    disabled: {
      type: Boolean,
      default: false
    }
  },
  computed: {
    classes () {
      return [`${prefixCls}`,
        {
          [`${prefixCls}-checked`]: this.checked,
          [`${prefixCls}-disabled`]: this.disabled
        }
      ]
    }
  }
}
